package cn.tedu.autoshow.website.mapper;


import cn.tedu.autoshow.website.pojo.entity.PaperDetail;
import cn.tedu.autoshow.website.pojo.vo.PaperDetailListItemVO;
import cn.tedu.autoshow.website.pojo.vo.PaperDetailStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PaperDetailMapper extends BaseMapper<PaperDetail> {
    int insert(PaperDetail paperDetail);

    PaperDetailStandardVO getStandardById(Long id); //根据id查询一个
    List<PaperDetailListItemVO> list();             //批量查询

}
